<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<title><?php echo Yii::app()->name; ?></title>
<link href="<?php echo Yii::app()->baseUrl; ?>/css/main.css" rel="stylesheet" type="text/css" />
<!--[if IE]> <link href="<?php echo Yii::app()->baseUrl; ?>/css/ie.css" rel="stylesheet" type="text/css"> <![endif]-->

<!--<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>-->
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/jquery_ui_custom.js"></script>

<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/charts/excanvas.min.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/charts/jquery.sparkline.min.js"></script>

<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/forms/jquery.tagsinput.min.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/forms/jquery.inputlimiter.min.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/forms/jquery.maskedinput.min.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/forms/jquery.autosize.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/forms/jquery.ibutton.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/forms/jquery.dualListBox.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/forms/jquery.validate.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/forms/jquery.uniform.min.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/forms/jquery.select2.min.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/forms/jquery.cleditor.js"></script>

<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/uploader/plupload.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/uploader/plupload.html4.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/uploader/plupload.html5.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/uploader/jquery.plupload.queue.js"></script>

<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/wizard/jquery.form.wizard.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/wizard/jquery.form.js"></script>

<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/ui/jquery.collapsible.min.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/ui/jquery.timepicker.min.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/ui/jquery.jgrowl.min.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/ui/jquery.pie.chart.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/ui/jquery.fullcalendar.min.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/ui/jquery.elfinder.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/ui/jquery.fancybox.js"></script>

<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/tables/jquery.dataTables.min.js"></script>

<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/bootstrap/bootstrap.min.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/bootstrap/bootstrap-bootbox.min.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/bootstrap/bootstrap-progressbar.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/plugins/bootstrap/bootstrap-colorpicker.js"></script>

<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/functions/custom.js"></script>

</head>

<body>

<!-- Top nav -->
<div id="top">
    <div class="top-wrapper">
        <a href="index.html" title=""><?php echo CHtml::image(Yii::app()->baseUrl . '/images/logo.png', '', array('class' => 'logo')); ?></a>
        <ul class="topnav">
            <li class="topuser">
                <a title="" data-toggle="dropdown">
                    <?php echo CHtml::image(Yii::app()->baseUrl . '/images/user.png'); ?><span>Eugene Kopyov</span><i class="caret"></i></a>
                <ul class="dropdown-menu">
                    <li><a href="#" title=""><span class="user-profile"></span>Mi Perfil</a></li>
                    <li><a href="#" title=""><span class="user-stats"></span>Estadisticas <strong>2</strong></a></li>
                    <li><a href="#" title=""><span class="user-settings"></span>Cambiar Usuario</a></li>
                    <li><?php echo CHtml::link('<span class="user-logout"></span>Logout', array('/site/logout')); ?></li>
                </ul>
            </li>
            <li><a href="#" title=""><b class="settings"></b></a></li>
            <li><a href="#" title=""><b class="mail"></b></a></li>
            <li class="search">
                <a title=""><b class="search"></b></a>
                <form class="top-search" action="#">
                    <input type="text" placeholder="Search..." />
                    <input type="submit" value="" />
                </form>
            </li>
            <li class="sidebar-button"><a href="#" title=""><b class="responsive-nav"></b></a></li>
            <li><a href="#" title=""><b class="logout"></b></a></li>
        </ul>
    </div>
</div>
<!-- /top nav -->

<!-- Main wrapper -->
<div class="wrapper">

	<!-- Left sidebar -->
    <div class="sidebar" id="left-sidebar">
        <ul class="navigation"><!-- standard nav -->
            <li><a href="#" title="" class="expand">Cat&aacute;logo<strong>2</strong></a>
                <ul>
                    <li><?php echo CHtml::link('Productos', array('/admin/categoria/admin')); ?></li>
                    <li><?php echo CHtml::link('Categor&iacute;as', array('/admin/categoria/admin')); ?></li>
                    <li><?php echo CHtml::link('Unidades de Venta', array('/admin/unidadVenta/admin')); ?></li>
                </ul>
            </li>
            <li><a href="index.html" title="">Clientes</a></li>
        </ul><!-- /standard nav -->
    </div>
    <!-- /left sidebar -->
    
    
    <!-- Main content -->
    <div class="content">
        <?php if(isset($this->breadcrumbs)):?>
            <?php $this->widget('Breadcrumbs', array(
            'links'=>$this->breadcrumbs,
            'htmlOptions' => array(
                'class' => 'breadcrumb'
            ),
            'separator' => '<span class="divider">/</span>'
        )); ?><!-- breadcrumbs -->
        <?php endif?>

        <div class="body">
            <?php echo $content; ?>
        </div>
    </div>
    <!-- /main content -->


</div>
<!-- /main wrapper -->

</body>
</html>